home *** CD-ROM | disk | FTP | other *** search
-
-
- Description of 4xFORTH Editor
-
-
-
-
- Overview
- --------
-
- The 4xFORTH editor, called ED, is a block oriented, cursor controlled
- editor which uses the special function keys and the mouse provided by
- the Atari 520 ST computer.
-
-
- Initiation
- ----------
-
- ED is invoked by the following command:
-
- <blk#> ED <cr>
-
- e.g.:
-
- 10 ED <cr>
-
- The editor will then fetch the desired block, and place it on the
- screen in the edit mode.
-
-
- Using the Mouse
- ---------------
-
- The mouse may be used to position the cursor within the block. The
- right key on the mouse will cause the currently diplayed block to be
- saved on the mass storage device, and the next larger numbered block
- in the logical stream of blocks will be fetched and displayed in edit
- mode. The left key will caused the currently displayed block to be
- saved on the mass storage device, and the next smaller numbered block
- to be fetched and displayed in the edit mode.
-
-
-
-
-
- Two Insertion Modes
- -------------------
-
- ED has two key strike character insertion modes. The first, called
- overstrike or replace mode, causes new characters typed on the keys
- to replace the character under the current position of the cursor.
- The insert mode causes the contents of the current line, beginning
- with the character currently under the cursor, to be moved one cell
- to the right. The last character in the line is lost. The new byte
- is then inserted in the line under the current cursor position.
-
- The mode ED is currently running in is shown in the upper right
- corner of the display. It can be toggled to the other mode by
- striking the control and N keys (^N) simultaneously.
-
-
- Commands that Change the Cursor Position
- ----------------------------------------
-
- ^I or TAB Tab causes the cursor to be placed on the
- next tab stop. Tab stops are set to every
- 8th column. Characters between the current
- cursor position and the next tab stop are
- not changed. This is a nondestructive tab.
-
- ^O This acts the same way the tab does, except
- that is replaces all characters between the
- current cursor position and the next tab
- stop with blanks. This is a destructive tab.
-
- ^B Blank the rest of the current line. Replace
- the characters in the current line, beginning
- with the current cursor position, with blanks.
- leave the cursor at the beginning of the next
- line.
-
- ^P Place the cursor at the 48th column of the
- current line. Do not change any characters
- in the current line.
-
- ^R Place the cursor in the first column of the
- last line of the displayed block. Do not
- change any characters.
-
- ^U Place the cursor in the first column of the
- current line. Do not change any characters.
-
-
- HOME Place the cursor in the first column of the
- first line of the currently displayed block.
- Dop not change any characters.
-
- cursor arrow keys The cursor arrow keys in the keypad cluster
- are active and work as marked.
-
-
- Commands which Change Lines
- ---------------------------
-
- ^A or F3 Move the last line of the block into the cut
- buffer. Scroll all lines beginning with the
- current one, down by one line. Add a line of
- blanks at the current line. This "add a line"
- function must be executed with the cursor on
- the first column of the desired line, else it
- will be ignored.
-
- ^T or F4 Delete the current line, placing it in the cut
- buffer. Scroll all lines below it up by one
- line. Insert a line of blanks into the bottom
- of the block. This "delete a line" function
- must be executed with the cursor in the first
- column of the desired line, else it will be
- ignored.
-
- ^S or F9 Split the current line at the cursor. Place the
- last line in the block into the cut buffer.
- scroll the lines below the current one down by
- one line. Insert a line of blanks in the line
- below the current one. Move the characters
- after the cursor in the current line to their
- corresponding places in the line below, and
- replace them on the current line with blanks.
-
- ^Y Wrap the current contents of the cut buffer
- into the block at the line specified by the
- current position of the cursor. This is done
- in the following order:
-
- 1. Move the contents of the current cut
- buffer into a temporary place.
-
- 2. Move the last line of the block into the
- cut buffer.
-
- 3. Scroll the lines below and including the
- current line down by one line.
-
- 4. Move the contents of the temporary save
- area for the old cut buffer into the line
- specified by the position of the cursor.
-
- Execution of this command must take place with
- the cursor in the first column of the desired
- line, else the command is ignored.
-
-
-
-
-
- Cut Buffer Commands
- -------------------
-
- F5 Cut the characters from the beginning of the
- line to the current cursor position, and place
- them in the cut buffer.
-
- F6 Cut the characters from the current cursor
- position to the end of the current line and
- place them in the cut buffer.
-
- F7 Glue the characters in the cut buffer in front
- of the current cursor position. This is an
- OVERWRITE operation.
-
- F8 Glue the characters in the cut buffer to the
- right of the current cursor position. This is
- an OVERWRITE operation.
-
-
-
-
-
- Deleting Characters
- -------------------
-
- ^D or F10 Delete the character under the current cursor
- position. Move the characters following one
- to the right, and add a blank to the end of
- the current line.
-
- ^E or INSERT Insert a blank at the current cursor position
- after moving all characters following one to
- the right. The last character in the current
- line is lost.
-
-
- Exiting the Editor
- ------------------
-
- ^Z or F2 Save the currently displayed block to the
- mass storage device, and exit the editor.
-
- ^C or F1 Exit the editor without saving the currently
- displayed block to mass storage. NOTE: This
- is NOT recoverable! The contents of the block
- being displayed is lost forever!
-
- ə